
#import <Foundation/Foundation.h>
#import "HTTPImageView.h"
#import "UpLoadImageModel.h"


@protocol AddShopPhotoDelegate <NSObject>

@optional

- (void) addShopPhoto:(id) sel; 

@end


@interface smPhotoItemView : UIView 

@property (nonatomic, strong) UpLoadImageModel* uploadImageDateSource;

@property (nonatomic) bool isUpLoadSuccess;
@property (nonatomic) bool isUpLoadFailed;

@property (nonatomic, strong) id<UpLoadImageDelegate> uploadimgDelegate;
@property (nonatomic, strong) id<AddShopPhotoDelegate> addShopimgDelegate;


-(void) setShopDefaultImage:(UIImage*) image;

-(void) setShopImage:(UIImage*) image;

-(void) setShopNewImage:(UIImage*) image;

-(void) setmyShopHttpImgUrl:(NSString*) shortUrl;

-(void) upLoadImageToSever;

-(BOOL) isDefaultImage;

-(BOOL) isChangedImage;

-(NSString*) getImgViewShortName;

@end
